<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>	
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="<%=request.getContextPath()%>/pages/login/css/main.css" />
<link rel="stylesheet" type="text/css" href="<%=request.getContextPath()%>/pages/login/css/top_style.css" />
<script language="javascript" type="text/javascript" src="<%=request.getContextPath()%>/swordweb/core/jsimport/Sword.js"></script>
<script language="javascript" type="text/javascript">
function a_onclick_submit(){
	$w("sub_tjsz").submit();
}
function SwordSubmit_onSuccess_sub_tjsz(req, res){
	if(res.getAttr("szflag") == "true"){
		alert("提交设置成功！");
	}else{
		alert("提交设置失败，请重试！");
	}
}
</script>
</head>
<body style="border-left: 1px solid #DDD9DA;">
	<div class="top_2">
		<div class="top_nav_list">
			<a>设置店铺APP地址</a>
		</div>
	</div>
	<div align="center" style="margin-left:25px;margin-top:25px; margin-right: 25px;">
		<div sword="SwordForm" name="form_brandxzdz">
			<div name="cBrandId" type="hidden"></div>
			<table class="layout1" style="width:90%">
				<colgroup>
					<col width="18%" />
					<col width="82%" />
				</colgroup>
				<tr>
					<th colspan="2" class="title">
						设置店铺APP地址
					</th>
		    	</tr>
				<tr>
					<th>ios客户端地址</th>
					<td>
						<div name="appIos" type="text"></div>
						<div style="color: #FF0000;width: 100%">
								(*注意:请务必在输入的品牌地址前加入<span
									style="color: #0033FF; text-decoration: underline;">http://</span>前缀,否则为错误格式的品牌地址,示例:<span
									style="text-decoration: underline;">http://www.nike.com</span>)
						</div>
					</td>
				</tr>	
		    	<tr>
					<th>android客户端地址</th>
					<td>
						<div name="appAndroid" type="text"></div>
						<div style="color: #FF0000;width: 100%">
								(*注意:请务必在输入的品牌地址前加入<span
									style="color: #0033FF; text-decoration: underline;">http://</span>前缀,否则为错误格式的品牌地址,示例:<span
									style="text-decoration: underline;">http://www.nike.com</span>)
						</div>
					</td>
				</tr>
			</table>
			<div class="mar_center">
				<span class="fl_340 pad_bot"></span> <span class="pad_bot bot"><a onclick="a_onclick_submit()" style="cursor: pointer;">确认提交</a> </span>
			</div>
		</div>
	</div>
	<!-- 提交设置开始 -->
	<div sword="SwordSubmit" name="sub_tjsz" show="false" value="提交设置"
		tid="BrandWebXzdzService_updateXzdz" onSuccess="SwordSubmit_onSuccess_sub_tjsz()">
		<div widgetName="form_brandxzdz"></div>
	</div>
	<!-- 提交设置结束 -->
</body>
</html>